#ifdef HAVE_SDL
#ifndef VISUAL_SDL_H
#define VISUAL_SDL_H

void
visual_change_layer_sdl( void );

void
visual_sdl_quit( void );

int
visual_sdl_init( uint16_t w, uint16_t h );

int
visual_sdl_update( void );

int
visual_sdl_waitkey( void );

int
visual_sdl_clear( void );

int
visual_sdl_fill( color_t color, rect_t rect );

int
visual_sdl_display( surface_t *surface, coord_t pos );

int
visual_sdl_save( const char *filename );

#endif /* VISUAL_SDL_H */
#endif /* HAVE_SDL */
